package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @program: sys_lab_assistant
 * @description: 实验室助理报修
 * @author: 作者
 * @create: 2021-07-02 20:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("assistant_repair")
public class AssistantRepair {

    private int repairId; // 报修编号

    private String equipmentName; // 设备名称

    private String equipmentNo; // 设备编号

    private String errorContent; // 故障描述

    private Date repairTime; // 报修时间

    private int repairAssistant; // 助理编号

    private Timestamp createTime;

    private Timestamp modifyTime;

    public AssistantRepair(int repairId, String equipmentName, String equipmentNo, String errorContent, Date repairTime, int repairAssistant) {
        this.repairId = repairId;
        this.equipmentName = equipmentName;
        this.equipmentNo = equipmentNo;
        this.errorContent = errorContent;
        this.repairTime = repairTime;
        this.repairAssistant = repairAssistant;
    }
}
